﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LeoMVC.Domain
{
    public class Product:EntityBase
    {
        public string Name { get; set; }

        public virtual Category Category { get; set; }

        public virtual string Description { get; set; }

        public virtual decimal UnitPrice { get; set; }

        public virtual IList<Order> Orders { get; set; } 

        public Product()
        {
        }

        public Product(string name)
        {
            Name = name;
        }
    }
}
